<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="container">
            用户名:<input type="text" v-model="username" placeholder="请输入用户名" /><br>
            描述：<textarea  :rows="3" v-model="desc" cols="50"></textarea>
        </div>
        <script>
        var vm=new Vue({
            el:"#container",
            data:{
                username:"",
                desc:"ssss"
            } 
        });
        </script>
    </body>
</html>
